<%@ page contentType="text/html;charset=UTF-8" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>


<h3>Edytuj przedmiot</h3>

<form:form commandName="subject">
<form:hidden path="subjectId" />
<table>

	<tr>
	<td colspan="2">
	
	<div style="color: green">${dodano}</div>

	
	</td>
	</tr>
	<tr>
	<td colspan="2">
	
	<form:errors path="subjectName" cssClass="error_box" />

	
	</td>
	</tr>
	<tr>
		<td><form:label path="subjectName">Login:</form:label></td>
		<td><form:input path="subjectName" /></td>
	</tr>
	

</table>
<input type="submit" value="Edytuj i wróć" />
</form:form><br /><br />